<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>综合咨询平台</title>
<link rel="stylesheet" href="<%=request.getContextPath() %>/resources/admin/css/list.css" type="text/css"></link>
<script type="text/javascript" src="<%=request.getContextPath() %>/resources/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resources/js/common.js"></script>
</head>
<body>
<div id="inside_content">
	<div id="dynamic">企业管理</div>
	<div id="list_content">
		<div id="list_feature">
			<div class="op" onclick="to('<%=request.getContextPath() %>/company!toAddCompany.action?curPage=${request.curPage }')" title="新增"><img src="<%=request.getContextPath() %>/resources/admin/images/001.png"/></div>
			<div class="op" onclick="deteleSelected('是否删除选中数据？','<%=request.getContextPath() %>/company!deteleSelectedCompany.action','<%=request.getContextPath() %>/company!searchCompany.action')" title="删除"><img src="<%=request.getContextPath() %>/resources/admin/images/083.png"/></div>
		    <div class="op" onclick="spread(1)" title="筛选条件" id="up_under" ><img id="userPhoto" src="<%=request.getContextPath() %>/resources/admin/images/006_show.png"/></div> 
		</div>
		<div id="hide_selet">条件</div>
	</div>
		<div id="show_content">
			<ul>
				<li id="nan">
					<ul>
						<li><input id="cb_selectAll" type="checkbox" name="cb_selectAll" value="0"  class="checkbox"/> </li>
						<li>编号</li>
						<li style="width: 10%;">标题</li>
						<li style="width: 10%;">图片来源</li>
						<li style="width: 10%;">图片地址</li>
						<li style="width: 10%;">排序</li>
						<li style="width: 20%;">描述</li>
						<li>详情</li>
						<li>编辑</li>
						<li>删除</li>
					</ul>
				</li>
				<c:forEach  var="info" items="${requestScope.resultMap.list }"  varStatus="xh">
					<li id="<c:if test='${xh.count%2==0 }'>nan_im_double</c:if><c:if test='${xh.count%2!=0 }'>nan_im_single</c:if>"     >
						<ul>
							<li><input type="checkbox" value="${info.id}" name="cb_select" class="checkbox"  /></li>
							<li>${xh.count+request.xh}</li>
							<li style="width: 10%;">${info.title}</li>
							<li style="width: 10%;">${info.value}</li>
							<li style="width: 10%;" title="${info.img_url}">${info.img_url}</li>
							<li style="width: 10%;">
								<input name="ordreid"  value="${info.orderid}" class="list_input" action="<%=request.getContextPath() %>/company!updateCompanyOrderid.action?id=${info.id}&orderid=" />
							</li>
							<li style="width: 20%;" title="${info.description}">${info.description}</li>
							<li id="function_button"><img src="<%=request.getContextPath() %>/resources/admin/images/details_logo.png"/></li>
							<li id="function_button" onclick="to('<%=request.getContextPath() %>/company!detailsCompany.action?url=to_update&id=${info.id}&curPage=${request.curPage}')"><img src="<%=request.getContextPath() %>/resources/admin/images/editor_logo.png"/></li>
							<li id="function_button" onclick="detele('是否删除该条企业信息？','<%=request.getContextPath() %>/company!deleteCompany.action?id=${info.id}','<%=request.getContextPath() %>/company!searchCompany.action?page=${request.curpage}')"><img src="<%=request.getContextPath() %>/resources/admin/images/delete_logo.png"/></li>
						</ul>
					</li>
				</c:forEach>
			</ul>
			<div id="pageBar"  style=" ">${requestScope.pageBar }</div>
	</div>
</div>
<script type="text/javascript" src="<%=request.getContextPath() %>/resources/js/common.js"></script>
</body>
</html>